package com.mask.im.business.model.entity.chat;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 好友分组
 * @author jian
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("im_friend_groups")
public class IMFriendGroupsDO {
	//好友分组id
	@TableId(type = IdType.ASSIGN_ID)
	private Long id;
	//创建组名的用户id
	private Long userInfoId;
	//组名
	private String groupName;
	//权重
	private Integer sort;
	//是否默认
	private Integer isDefault;
	//创建时间
	@TableField(fill = FieldFill.INSERT)
	private LocalDateTime createTime;
	//更新时间
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime updateTime;

}

